import fetch from '../request.js'

// 客户分页列表
export function customerPageList(params) {
	return fetch.request("/pekingFish/app/customer/page", "GET",params, true, false, false)
}

// 获得客户列表
export function customerList(params) {
	return fetch.request("/pekingFish/app/customer/getCustomerList", "GET",params, true, false, false)
}



// 获得客户详情
export function customerDetail(params) {
	return fetch.request("/pekingFish/app/customer/get", "GET",params, true, false, false)
}

// 新增客户
export function customerAdd(params) {
	return fetch.request("/pekingFish/app/customer/create", "POST",params, false, false, false)
}

// 编辑客户
export function customerEdit(params) {
	return fetch.request("/pekingFish/app/customer/update", "PUT",params, false, false, false)
}
// 删除客户
export function customerDelete(params) {
	return fetch.request("/pekingFish/app/customer/delete", "DELETE",params, true, false, false)
}

export function appUserLists(params) {
	return fetch.request("/pekingfish/app/app-user/getList", "GET",params, true, false, false,false)
}